package cn.zl.springbootmqtt.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:MQTT消息属性
 * @Author: zhanglang
 * @Date: 2020/10/27 13:54
 */
@Data
@Component
public class MqttConfig {
//    @Value("${com.mqtt.host}")
//    private String host;
//
//    @Value("${com.mqtt.port}")
//    private String port;
//
//    @Value("${com.mqtt.clientId}")
//    private String clientId;
//
//    @Value("${com.mqtt.username}")
//    private String username;
//
//    @Value("${com.mqtt.password}")
//    private String password;
//
//    @Value("${com.mqtt.timeout}")
//    private Integer timeout;
//
//    @Value("${com.mqtt.keepalive}")
//    private Integer keepalive;
}
